<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('App_key')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-app_key" data-rule="required" class="form-control" name="row[app_key]" type="text" value="{$row.app_key|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('App_secret')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-app_secret" data-rule="required" class="form-control" name="row[app_secret]" type="text" value="{$row.app_secret|htmlentities}">
        </div>
    </div>
    <!-- <div class="form-group"> -->
    <!--     <label class="control-label col-xs-12 col-sm-2">{:__('Bid')}:</label> -->
    <!--     <div class="col-xs-12 col-sm-8"> -->
    <!--         <input id="c-bid" data-rule="required" class="form-control" name="row[bid]" type="text" value="{$row.bid|htmlentities}"> -->
    <!--     </div> -->
    <!-- </div> -->
    <!-- <div class="form-group"> -->
    <!--     <label class="control-label col-xs-12 col-sm-2">{:__('Token_type')}:</label> -->
    <!--     <div class="col-xs-12 col-sm-8"> -->
    <!--         <input id="c-token_type" data-rule="required" class="form-control" name="row[token_type]" type="text" value="{$row.token_type|htmlentities}"> -->
    <!--     </div> -->
    <!-- </div> -->
    <!-- <div class="form-group"> -->
    <!--     <label class="control-label col-xs-12 col-sm-2">{:__('Scope')}:</label> -->
    <!--     <div class="col-xs-12 col-sm-8"> -->
    <!--         <input id="c-scope" data-rule="required" class="form-control" name="row[scope]" type="text" value="{$row.scope|htmlentities}"> -->
    <!--     </div> -->
    <!-- </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Session')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-session" data-rule="required" class="form-control" name="row[session]" type="text" value="{$row.session|htmlentities}">
        </div>
    </div>
    <!-- <div class="form-group"> -->
    <!--     <label class="control-label col-xs-12 col-sm-2">{:__('Session_expire_time')}:</label> -->
    <!--     <div class="col-xs-12 col-sm-8"> -->
    <!--         <input id="c-session_expire_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[session_expire_time]" type="text" value="{$row.session_expire_time}"> -->
    <!--     </div> -->
    <!-- </div> -->
    <!-- <div class="form-group"> -->
    <!--     <label class="control-label col-xs-12 col-sm-2">{:__('Session_status')}:</label> -->
    <!--     <div class="col-xs-12 col-sm-8"> -->
    <!--          -->
    <!--         <div class="radio"> -->
    <!--         {foreach name="sessionStatusList" item="vo"} -->
    <!--         <label for="row[session_status]-{$key}"><input id="row[session_status]-{$key}" name="row[session_status]" type="radio" value="{$key}" {in name="key" value="$row.session_status"}checked{/in} /> {$vo}</label>  -->
    <!--         {/foreach} -->
    <!--         </div> -->

    <!--     </div> -->
    <!-- </div> -->
    <!-- <div class="form-group"> -->
    <!--     <label class="control-label col-xs-12 col-sm-2">{:__('Session_check_time')}:</label> -->
    <!--     <div class="col-xs-12 col-sm-8"> -->
    <!--         <input id="c-session_check_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[session_check_time]" type="text" value="{$row.session_check_time}"> -->
    <!--     </div> -->
    <!-- </div> -->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refresh_session')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refresh_session" data-rule="required" class="form-control" name="row[refresh_session]" type="text" value="{$row.refresh_session|htmlentities}">
        </div>
    </div>
    <!-- <div class="form-group"> -->
    <!--     <label class="control-label col-xs-12 col-sm-2">{:__('Remain_refresh_count')}:</label> -->
    <!--     <div class="col-xs-12 col-sm-8"> -->
    <!--         <input id="c-remain_refresh_count" data-rule="required" class="form-control" name="row[remain_refresh_count]" type="number" value="{$row.remain_refresh_count|htmlentities}"> -->
    <!--     </div> -->
    <!-- </div> -->
    <!-- <div class="form-group"> -->
    <!--     <label class="control-label col-xs-12 col-sm-2">{:__('Last_refresh_time')}:</label> -->
    <!--     <div class="col-xs-12 col-sm-8"> -->
    <!--         <input id="c-last_refresh_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[last_refresh_time]" type="text" value="{$row.last_refresh_time}"> -->
    <!--     </div> -->
    <!-- </div> -->
    <!-- <div class="form-group"> -->
    <!--     <label class="control-label col-xs-12 col-sm-2">{:__('Log_info')}:</label> -->
    <!--     <div class="col-xs-12 col-sm-8"> -->
    <!--         <input id="c-log_info" data-rule="required" class="form-control" name="row[log_info]" type="text" value="{$row.log_info|htmlentities}"> -->
    <!--     </div> -->
    <!-- </div> -->
    <!-- <div class="form-group"> -->
    <!--     <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label> -->
    <!--     <div class="col-xs-12 col-sm-8"> -->
    <!--         <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{$row.create_time}"> -->
    <!--     </div> -->
    <!-- </div> -->
    <!-- <div class="form-group"> -->
    <!--     <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label> -->
    <!--     <div class="col-xs-12 col-sm-8"> -->
    <!--         <input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{$row.update_time}"> -->
    <!--     </div> -->
    <!-- </div> -->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
